package oo.Day10;

public class GetSetDemo {
    public static void main(String[] args) {
    Student s=new Student();
    s.setName("张三");
    s.setAge(25);
    s.setAddress("北极");
    System.out.println(s.getName()+","+s.getAge()+","+s.getAddress());

    Student l=new Student();
        l.setName("李四");
        l.setAge(29);
        l.setAddress("南极");
        System.out.println(l.getName()+","+l.getAge()+","+l.getAddress());





    }
}
